package com.cc.visitor.service;

import com.cc.visitor.dao.VisitSignatureFileMapper;
import com.cc.visitor.entity.VisitSignatureFile;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author chanchaw
 * @create 2025-01-21 13:50
 */
@Service
public class VisitSignatureFileServiceImpl implements VisitSignatureFileService{
    @Autowired
    private VisitSignatureFileMapper dao;
    public VisitSignatureFile insert(VisitSignatureFile record){
        int i = dao.insert(record);
        return dao.selectOneById(record.getId());
    }
}
